package org.csu.mypetstore.api.service;

import org.csu.mypetstore.api.common.CommonResponse;
import org.csu.mypetstore.api.entity.Product;

import java.util.List;

public interface ProductService {
    public CommonResponse<List<Product>> getProductListByCategory(String categoryId);

    public CommonResponse<Product> getProductById(String productId);

    public CommonResponse<List<Product>> getAllProductList();

    public CommonResponse<List<Product>> searchProductList(String keyword);
}